package Others.DesignPattern.TemplatePattern.Pattern.Object;

public class StudentB extends TestPaper {

    private String answer1;
    private String answer2;
    private String answer3;

    public void answer1(String  answer){
        this.answer1 = answer;
    }

    public void answer2(String  answer){
        this.answer2 = answer;
    }

    public void answer3(String  answer){
        this.answer3 = answer;
    }

    @Override
    public String Answer1() {
        return answer1;
    }

    @Override
    public String Answer2() {
        return answer2;
    }

    @Override
    public String Answer3() {
        return answer3;
    }
}
